package com.xiaoda.service;

import com.xiaoda.entity.User;

import java.util.List;
import java.util.Map;

public interface UserService {

    List<User> findAll();

    User findById(String account);

    User userLogin(String account, String password);

    int addUser(User user);

    List<User> recommendedAttention(String uid);

    int updateUser(User user);

    List<User> findAllByKeyword(Map<String, Object> map);

    int deleteByAccount(String account);

    int addFullUser(User user);

}
